<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<link rel="stylesheet" type="text/css"
		href="resources/cssStyle/login.css" />
	<link rel="stylesheet" type="text/css"
		href="resources/cssStyle/adminPage.css" />
	<link rel="stylesheet" type="text/css"
		href="resources/cssStyle/userPage.css" />
	<link rel="stylesheet" type="text/css"
		href="resources/cssStyle/shadow.css" />
	<title><ui:insert name="title">Default title</ui:insert></title>
</h:head>
<h:body>

	<h:panelGroup class="shadow"
		rendered="#{myLoginController.popUpLogin!=null}">
		<div class="shadowInbox">
			<br/>
			<h:form>
				<center>
					<h:outputText class="shadowPassTitle" value="First time password update!"/>
					<br/><br/>
					<h:panelGrid border="0" columns="3">
						<h:outputText value="New Password" style="margin-right:50px;"></h:outputText>
						<h:inputSecret id="passwordFailedNew"
							binding="#{passwordFailedNew}" />
						<h:message for="passwordFailedNew"></h:message>
						<h:outputText value="Confirm Password"></h:outputText>
						<h:inputSecret id="passwordFailedRetype"
							validator="#{setProfileController1.validatePasswordNew}">
							<f:attribute name="password" value="#{passwordFailedNew}"></f:attribute>
						</h:inputSecret>
						<h:message for="passwordFailedRetype"></h:message>
					</h:panelGrid>
					<br/>
					<h:commandButton class="selectRepositoryButton"
						action="#{setProfileController1.changeFirstPassword}"
						value="#{msg.login}" />
				</center>
			</h:form>
			<br/>
		</div>
	</h:panelGroup>
	<div class="login">
		<div id="header">
			<ui:insert name="header">
				<ui:include src="header.xhtml" />
			</ui:insert>
		</div>

		<div id="content">
			<ui:insert name="content">
			</ui:insert>
		</div>

		<div id="footer">
			<ui:insert name="footer">
				<ui:include src="footer.xhtml" />
			</ui:insert>
		</div>
	</div>
</h:body>
</html>